package ChatRoom;

import java.io.Serializable;

@SuppressWarnings("serial")
public class chatlog implements Serializable{
	private String username;
	private long timestamp;
	private String text;
	/**
	 * @param username the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}
	/**
	 * @param timestamp the timestamp to set
	 */
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}
	/**
	 * @return the timestamp
	 */
	public long getTimestamp() {
		return timestamp;
	}
	/**
	 * @param text the text to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	/**
	 * @return the text
	 */
	public String getText() {
		return text;
	}
	
	public chatlog(String username, long timestamp, String text) {
		this.username = username;
		this.timestamp = timestamp;
		this.text = text;
	}
}
